﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Net.Http.Headers;
using UnityEngine;
using UnityEngine.UI;

public class MVC_Demo : MonoBehaviour
{
    public static MVC_Demo instance;

    public int score;

    private void Awake()
    {
        instance = this;
    }


    // Start is called before the first frame update
    void Start()
    {
        PlayerModel model = new PlayerModel();
        PlayerView view = GameObject.FindObjectOfType<PlayerView>();
        PlayerContoller contoller = new PlayerContoller(model, view);
        contoller.SetPlayerName("公主");
        contoller.UpdateView();
    }
}
